package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 sys_notify
 * 
 * @author yfkj
 * @date 2021-12-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysNotify
{
    private static final long serialVersionUID = 1L;
    /** 通知主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "${comment}")
    private Long sysNotifyId;
    /** 通知类型数组 */
    @com.ruoyi.common.core.annotation.Excel(name = "通知类型数组")
    @TableField(exist = true)
    @ApiModelProperty(value =  "通知类型数组")
    private String notifyTypeIds;
    /** 通知对象 */
    @com.ruoyi.common.core.annotation.Excel(name = "通知对象")
    @TableField(exist = true)
    @ApiModelProperty(value =  "通知对象")
    private Long sysUserId;
    /** 是否有效 1有效  0无效 */
    @com.ruoyi.common.core.annotation.Excel(name = "是否有效 1有效  0无效")
    @TableField(exist = true)
    @ApiModelProperty(value =  "是否有效 1有效  0无效")
    private Integer status;
    public static final String SYS_NOTIFY_ID="sys_notify_id";
    public static final String NOTIFY_TYPE_IDS="notify_type_ids";
    public static final String SYS_USER_ID="sys_user_id";
    public static final String STATUS="status";
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sysNotifyId", getSysNotifyId())
            .append("notifyTypeIds", getNotifyTypeIds())
            .append("sysUserId", getSysUserId())
            .append("status", getStatus())
            .toString();
    }
}
